package com.spdb.oa.type;

import java.util.HashMap;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeInfo.As;

@JsonTypeInfo(include=As.PROPERTY, use=JsonTypeInfo.Id.CLASS, visible=false)
public class WFFormElement {
	public String id;
	public String name;
	public String displayName;
	public String controlType;
	public boolean required;
	public boolean visible;
	public boolean enabled;
	public String dataType;
	public String showField;
	
	public Map<String, Object> fileTypeBasedProperties;
//	public String content;
	@Override
	public String toString() {
		return "WFFormElement [id=" + id + ", name=" + name + ", displayName=" + displayName + ", controlType="
				+ controlType + ", required=" + required + ", visible=" + visible + ", enabled=" + enabled
				+ ", dataType=" + dataType + ", showField=" + showField + "]";
	}
	
}
